shadow

Applies a shadow behind the view. You can control color, blur radius, and x/y offset.

Type

1shadow?: {
2  color: Color
3  radius: number
4  x?: number
5  y?: number
6}

Example

1<Text
2  shadow={{
3    color: "black",
4    radius: 5,
5    x: 2,
6    y: 4
7  }}
8>
9  Shadowed Text
10</Text>